using System;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Rectangle rectangle = new Rectangle();
            rectangle.Width = 8;
            rectangle.Length = 12;
            Rectangle rectangle2 = new Rectangle(11, 12);
            Console.WriteLine("长为{0},宽为{1}的矩阵的面积为{2},周长为{3}", rectangle.Length, rectangle.Width,rectangle.Area(), rectangle.Perimeter());
            Console.WriteLine("长为{0},宽为{1}的矩阵的面积为{2},周长为{3}", rectangle2.Length, rectangle2.Width, rectangle2.Area(), rectangle2.Perimeter());
            Console.ReadLine();
        }
    }
}
